Skip to content
README.md 3.01 KiB
Newer Older
kampichlerw's avatar
kampichlerw committed
# JSON Schema

kampichlerw's avatar
kampichlerw committed
## QueueState [https://forge.etsi.org/rep/emtel/ts-103-479/json-schema/blob/master/queuestate.json]
kampichlerw's avatar
kampichlerw committed

kampichlerw's avatar
kampichlerw committed
## AbandonedCall [https://forge.etsi.org/rep/emtel/ts-103-479/json-schema/blob/master/abandonedcall.json]
kampichlerw's avatar
kampichlerw committed
```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
kampichlerw's avatar
kampichlerw committed
  "$id": "https://forge.etsi.org/rep/emtel/ts-103-479/json-schema",
kampichlerw's avatar
kampichlerw committed
  "title": "AbandonedCall",
  "description": "AbandonedCall event notification",
  "type": "object",
  "properties": {
    "Invite": {
      "description": "Content of INVITE message",
      "type": "string"
    },
    "InviteTimestamp": {
      "description": "Timestamp call was received at ESRP",
      "type": "string"
    },
    "CancelTimestamp": {
      "description": "Timestamp CANCEL was received at ESRP",
      "type": "string"
    }
  },
  "required": [ "Invite", "InviteTimestamp", "CancelTimestamp" ]
}
```

kampichlerw's avatar
kampichlerw committed
## SecurityPosture [https://forge.etsi.org/rep/emtel/ts-103-479/json-schema/blob/master/securityposture.json]
kampichlerw's avatar
kampichlerw committed
```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
kampichlerw's avatar
kampichlerw committed
  "$id": "https://forge.etsi.org/rep/emtel/ts-103-479/json-schema",
kampichlerw's avatar
kampichlerw committed
  "title": "SecurityPosture",
  "description": "SecurityPosture event notification",
  "type": "object",
  "properties": {
    "Posture": {
      "description": "Enumeration of current security posture",
      "type": "string"
      "enum": ["green", "yellow", "orange", "red"]
    }
  },
  "required": [ "Posture" ]
}
```

kampichlerw's avatar
kampichlerw committed
##	ElementState [https://forge.etsi.org/rep/emtel/ts-103-479/json-schema/blob/master/elementstate.json]
kampichlerw's avatar
kampichlerw committed
```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
kampichlerw's avatar
kampichlerw committed
  "$id": "https://forge.etsi.org/rep/emtel/ts-103-479/json-schema",
kampichlerw's avatar
kampichlerw committed
  "title": "ElementState",
  "description": "ElementState event notification",
  "type": "object",
  "properties": {
    "State": {
      "description": "Enumeration of current element state",
      "type": "string"
      "enum": ["normal", "sheduledMaintenance", "serviceDisruption", "overloaded", "goingDown", "down"]
    },
    "Reason": {
      "description": "Text containing the reason state was changed, if available",
      "type": "string"
    }
  },
  "required": [ "State" ]
}
```

kampichlerw's avatar
kampichlerw committed
##	ServiceState [https://forge.etsi.org/rep/emtel/ts-103-479/json-schema/blob/master/servicestate.json]
kampichlerw's avatar
kampichlerw committed
```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
kampichlerw's avatar
kampichlerw committed
  "$id": "https://forge.etsi.org/rep/emtel/ts-103-479/json-schema",
kampichlerw's avatar
kampichlerw committed
  "title": "ServiceState",
  "description": "ServiceState event notification",
  "type": "object",
  "properties": {
    "Service": {
      "description": "Name of the service",
      "type": "string"
    },
    "State": {
      "description": "Enumeration of current service state",
      "type": "string"
      "enum": ["normal", "unmanned", "sheduledMaintenance(down)", "sheduledMaintenance(available)", "majorIncidentInProgress", "partialService", "overloaded", "goingDown", "down"]
    },
    "Reason": {
      "description": "Text containing the reason state was changed, if available",
      "type": "string"
    }
  },
  "required": [ "Service", "State" ]
}
```