Osmocom Cell Broadcast Centre https://osmocom.org/projects/osmo-cbc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
osmo-cbc/cbc.schema.json

50 lines
1.2 KiB

{
"id": "http://api.osmocom.org/json-schema/cbc.schema.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "OsmoCBC schema",
"type": "object",
"definitions": {
"category": {
"enum": [ "normal", "high_priority", "background" ]
},
"repetition_period": {
"type": "integer",
"minimum": 1,
"maximum": 4095
},
"channel_indicator": {
"enum": [ "basic", "extended" ]
},
"warning_period_sec": {
"type": "integer",
"minimum": 0,
"maximum": 3600
},
"number_of_broadcasts": {
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"scope_plmn": {
"type": "object"
},
"scope": {
"oneOf": [
{ "$ref": "#/definitions/scope_plmn" }
]
},
"cbc_message": {
"type": "object",
"properties": {
"cbe_name": { "type": "string" },
"category": { "$ref": "#/definitions/category" },
"repetition_period": { "$ref": "#/definitions/repetition_period" },
"num_of_bcast": { "$ref": "#/definitions/number_of_broadcasts" },
"scope": { "$ref": "#/definitions/scope" },
"warning_period_sec": { "$ref": "#/definitions/warning_period_sec" },
"smscb_message": { "$ref": "smscb.schema.json#definitions/smscb_message" }
},
"required": [ "scope", "smscb" }
}
}
}