WlanInformationApi.json 92.1 KB
Newer Older
Michel Roy's avatar
Michel Roy committed
{
  "openapi": "3.0.0",
  "info": {
Michel Roy's avatar
Michel Roy committed
    "contact": {
      "url": "https://forge.etsi.org/rep/mec/gs028-wai-api"
    },
Michel Roy's avatar
Michel Roy committed
    "title": "ETSI GS MEC 028 - WLAN Access Information API",
    "version": "2.1.1",
    "description": "The ETSI MEC ISG MEC028 WLAN Access Information API described using OpenAPI",
    "license": {
      "name": "BSD-3-Clause",
      "url": "https://forge.etsi.org/legal-matters"
    }
  },
  "externalDocs": {
    "description": "ETSI MEC028 V2.1.1 WLAN Information API",
    "url": "http://www.etsi.org/deliver/etsi_gs/MEC/001_099/028/02.01.01_60/gs_mec028v020101p.pdf"
  },
  "servers": [
    {
Michel Roy's avatar
Michel Roy committed
      "url": "https://localhost/wai/v2"
    }
  ],
  "tags": [
    {
      "name": "wai"
Michel Roy's avatar
Michel Roy committed
    }
  ],
  "paths": {
    "/queries/ap/ap_information": {
      "get": {
        "tags": [
Michel Roy's avatar
Michel Roy committed
          "wai"
Michel Roy's avatar
Michel Roy committed
        ],
        "summary": "Retrieve information on existing Access Points",
        "description": "Queries information about existing WLAN Access Points",
        "operationId": "apInfoGET",
        "parameters": [
          {
            "$ref": "#/components/parameters/Query.Filter"
          },
          {
            "$ref": "#/components/parameters/Query.AllFields"
          },
          {
            "$ref": "#/components/parameters/Query.Fields"
          },
          {
            "$ref": "#/components/parameters/Query.ExcludeFields"
          },
          {
            "$ref": "#/components/parameters/Query.ExcludeDefault"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response to ap_info request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ApInfo"
Michel Roy's avatar
Michel Roy committed
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "406": {
            "$ref": "#/components/responses/406"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
    "/queries/sta/sta_information": {
      "get": {
        "tags": [
Michel Roy's avatar
Michel Roy committed
          "wai"
Michel Roy's avatar
Michel Roy committed
        ],
        "summary": "Retrieve information on existing Stations",
        "description": "Queries information about existing WLAN stations",
        "operationId": "staInfoGET",
        "parameters": [
          {
            "$ref": "#/components/parameters/Query.Filter"
          },
          {
            "$ref": "#/components/parameters/Query.AllFields"
          },
          {
            "$ref": "#/components/parameters/Query.Fields"
          },
          {
            "$ref": "#/components/parameters/Query.ExcludeFields"
          },
          {
            "$ref": "#/components/parameters/Query.ExcludeDefault"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response to sta_info request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaInfo"
Michel Roy's avatar
Michel Roy committed
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "406": {
            "$ref": "#/components/responses/406"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    },
Michel Roy's avatar
Michel Roy committed
    "/subscriptions": {
Michel Roy's avatar
Michel Roy committed
      "get": {
        "tags": [
Michel Roy's avatar
Michel Roy committed
          "wai"
Michel Roy's avatar
Michel Roy committed
        ],
        "summary": "Retrieve information on subscriptions for notifications",
        "description": "Queries information on subscriptions for notifications",
        "operationId": "subscriptionLinkList_subscriptionsGET",
        "parameters": [
          {
            "$ref": "#/components/parameters/Query.SubscriptionType"
          }
        ],
        "responses": {
          "200": {
            "description": "Response body contains the list of links to requestors subscriptions.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionLinkList"
Michel Roy's avatar
Michel Roy committed
                },
                "example": {
                  "_links": {
                    "self": {
                      "href": "http://meAppServer.example.com/wai/v2/subscriptions"
                    }
                  },
                  "subscription": [
                    {
                      "_links": {
                        "self": {
                          "href": "http://meAppServer.example.com/wai/v2/subscriptions/sub123"
                        }
                      },
                      "callbackReference": "http://my.callback.com/wai/assocStaSubscription/some-id",
                      "subscriptionType": "AssocStaSubscription"
                    }
                  ]
Michel Roy's avatar
Michel Roy committed
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "406": {
            "$ref": "#/components/responses/406"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      },
      "post": {
        "tags": [
Michel Roy's avatar
Michel Roy committed
          "wai"
Michel Roy's avatar
Michel Roy committed
        ],
        "summary": "Create a new subscription",
        "description": "Creates a new subscription to WLAN Access Information notifications",
        "operationId": "subscriptionsPOST",
        "requestBody": {
          "description": "Subscription to be created",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InlineSubscription"
              },
              "example": {
                "subscriptionType": "AssocStaSubscription",
                "callbackReference": "http://meAppClient.example.com/wai/v2/notifications/1",
                "expiryDeadline": {
                  "seconds": 1977836800,
                  "nanoSeconds": 0
Michel Roy's avatar
Michel Roy committed
                },
                "apId": {
                  "macId": "005C0A0A0A0A",
                  "ssid": "myNetworkSsid",
                  "ipAddress": "10.10.100.1"
Michel Roy's avatar
Michel Roy committed
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful subscription response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InlineSubscription"
Michel Roy's avatar
Michel Roy committed
                },
                "example": {
                  "subscriptionType": "AssocStaSubscription",
                  "callbackReference": "http://meAppClient.example.com/wai/v2/notifications/1",
                  "_links": {
                    "self": {
                      "href": "http://meAppServer.example.com/wai/v2/subscriptions/sub123"
                  },
                  "expiryDeadline": {
                    "seconds": 1977836800,
                    "nanoSeconds": 0
                  },
                  "apId": {
                    "macId": "005C0A0A0A0A",
                    "ssid": "myNetworkSsid",
                    "ipAddress": "10.10.100.1"
Michel Roy's avatar
Michel Roy committed
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "406": {
            "$ref": "#/components/responses/406"
          },
          "415": {
            "$ref": "#/components/responses/415"
          },
          "422": {
            "$ref": "#/components/responses/422"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        },
        "callbacks": {
          "notification": {
            "{$request.body#/callbackReference}": {
              "post": {
                "summary": "Callback POST used to send a notification",
                "description": "Notification from WAIS, content based on subscription type",
                "operationId": "notificationPOST",
                "requestBody": {
                  "description": "Subscription notification",
                  "required": true,
                  "content": {
                    "application/json": {
                      "schema": {
                        "$ref": "#/components/schemas/InlineNotification"
                      },
                      "example": {
                        "notificationType": "AssocStaNotification",
                        "timeStamp": {
                          "seconds": 1977836800,
                          "nanoseconds": 0
                        },
                        "apId": {
                          "macId": "005C0A0A0A0A",
                          "ssid": "myNetworkSsid",
                          "ipAddress": "10.10.100.1"
Michel Roy's avatar
Michel Roy committed
                        },
                        "staId": {
                          "macId": "005C01111111",
                          "ssid": [
                            "myNetworkSsid",
                            "myOtherNetworkSsid"
                          ],
                          "aid": "1122",
                          "ipAddress": "10.10.1.255"
Michel Roy's avatar
Michel Roy committed
                        }
                      }
                    }
                  }
                },
                "responses": {
                  "204": {
                    "$ref": "#/components/responses/204"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/subscriptions/{subscriptionId}": {
      "get": {
        "tags": [
Michel Roy's avatar
Michel Roy committed
          "wai"
Michel Roy's avatar
Michel Roy committed
        ],
        "summary": "Retrieve information on current specific subscription",
        "description": "Queries information about an existing subscription, identified by its self-referring URI returned on creation (initial POST)",
        "operationId": "subscriptionsGET",
        "parameters": [
          {
            "$ref": "#/components/parameters/Path.subscrId"
          }
        ],
        "responses": {
          "200": {
            "description": "Subscription information regarding subscription notifications",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InlineSubscription"
Michel Roy's avatar
Michel Roy committed
                },
                "example": {
                  "subscriptionType": "AssocStaSubscription",
                  "callbackReference": "http://meAppClient.example.com/wai/v2/notifications/1",
                  "_links": {
                    "self": {
                      "href": "http://meAppServer.example.com/wai/v2/subscriptions/sub123"
                  },
                  "expiryDeadline": {
                    "seconds": 1977836800,
                    "nanoSeconds": 0
                  },
                  "apId": {
                    "macId": "005C0A0A0A0A",
                    "ssid": "myNetworkSsid",
                    "ipAddress": "10.10.100.1"
Michel Roy's avatar
Michel Roy committed
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "406": {
            "$ref": "#/components/responses/406"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      },
      "put": {
        "tags": [
Michel Roy's avatar
Michel Roy committed
          "wai"
Michel Roy's avatar
Michel Roy committed
        ],
        "summary": "Modify an existing subscription",
        "description": "Updates an existing subscription, identified by its self-referring URI returned on creation (initial POST)",
        "operationId": "subscriptionsPUT",
        "requestBody": {
          "description": "Subscription to be modified",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InlineSubscription"
              },
              "example": {
                "subscriptionType": "AssocStaSubscription",
                "callbackReference": "http://meAppClient.example.com/wai/v2/notifications/1",
                "_links": {
                  "self": {
                    "href": "http://meAppServer.example.com/wai/v2/subscriptions/sub123"
                "expiryDeadline": {
                  "seconds": 1977836800,
                  "nanoSeconds": 0
                },
                "apId": {
                  "macId": "005C0A0A0A0A",
                  "ssid": "myNetworkSsid",
                  "ipAddress": "10.10.100.1"
Michel Roy's avatar
Michel Roy committed
                }
              }
            }
          }
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/Path.subscrId"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful subscription modification",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InlineSubscription"
Michel Roy's avatar
Michel Roy committed
                },
                "example": {
                  "_links": {
                    "self": {
                      "href": "http://[hostIP]/sbox-xyz123/wai/v2/subscriptions/sub123"
                  },
                  "callbackReference": "http://my.callback.com/wai/some-id",
                  "apId": {
                    "macId": "005C0A0A0A0A"
Michel Roy's avatar
Michel Roy committed
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "406": {
            "$ref": "#/components/responses/406"
          },
          "412": {
            "$ref": "#/components/responses/412"
          },
          "422": {
            "$ref": "#/components/responses/422"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      },
      "delete": {
        "tags": [
Michel Roy's avatar
Michel Roy committed
          "wai"
Michel Roy's avatar
Michel Roy committed
        ],
        "summary": "Cancel an existing subscription",
        "description": "Cancels an existing subscription, identified by its self-referring URI returned on creation (initial POST)",
        "operationId": "subscriptionsDELETE",
        "parameters": [
          {
            "$ref": "#/components/parameters/Path.subscrId"
          }
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/204"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "200": {
        "description": "OK"
      },
      "204": {
        "description": "No Content"
      },
      "400": {
        "description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
        "content": {
          "application/problem+json": {
Michel Roy's avatar
Michel Roy committed
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
Michel Roy's avatar
Michel Roy committed
            }
          }
        }
      },
      "401": {
        "description": "Unauthorized :  used when the client did not submit credentials.",
        "content": {
          "application/problem+json": {
Michel Roy's avatar
Michel Roy committed
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
Michel Roy's avatar
Michel Roy committed
            }
          }
        }
      },
      "403": {
        "description": "Forbidden :  operation is not allowed given the current status of the resource.",
        "content": {
          "application/problem+json": {
Michel Roy's avatar
Michel Roy committed
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
Michel Roy's avatar
Michel Roy committed
            }
          }
        }
      },
      "404": {
        "description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
        "content": {
          "application/problem+json": {
Michel Roy's avatar
Michel Roy committed
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
Michel Roy's avatar
Michel Roy committed
            }
          }
        }
      },
      "406": {
        "description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
        "content": {
          "application/problem+json": {
Michel Roy's avatar
Michel Roy committed
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
Michel Roy's avatar
Michel Roy committed
            }
          }
        }
      },
      "412": {
        "description": "Precondition failed :  used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT",
        "content": {
          "application/problem+json": {
Michel Roy's avatar
Michel Roy committed
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
Michel Roy's avatar
Michel Roy committed
            }
          }
        }
      },
      "415": {
        "description": "Unsupported Media Type :  used to indicate that the server or the client does not support the content type of the entity body.",
        "content": {
          "application/problem+json": {
Michel Roy's avatar
Michel Roy committed
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
Michel Roy's avatar
Michel Roy committed
            }
          }
        }
      },
      "422": {
        "description": "Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This error condition can also occur if the capabilities required by the request are not supported.",
        "content": {
          "application/problem+json": {
Michel Roy's avatar
Michel Roy committed
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
Michel Roy's avatar
Michel Roy committed
            },
            "example": {
              "application/problem+json": {
                "type": "https://meAppServer.example.com/wai/v2/probs/too-many targets",
                "title": "Too many targets",
                "status": "422",
                "detail": "The target area for the request is considered too large",
                "instance": "/meAppClient.example.com/77777/msgs/abc"
Michel Roy's avatar
Michel Roy committed
              }
            }
          }
        }
      },
      "429": {
        "description": "Too Many Requests : used when a rate limiter has triggered.",
        "content": {
          "application/problem+json": {
Michel Roy's avatar
Michel Roy committed
            "schema": {
              "$ref": "#/components/schemas/ProblemDetails"
Michel Roy's avatar
Michel Roy committed
            }
          }
        }
      }
    },
    "parameters": {
      "Path.subscrId": {
        "name": "subscriptionId",
        "in": "path",
        "description": "Subscription Id, specifically the \"self\" returned in the subscription request",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uri"
        }
      },
      "Query.Filter": {
        "name": "filter",
        "in": "query",
        "description": "Attribute-based filtering expression according to clause 6.19 of ETSI GS MEC 009. .",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "Query.AllFields": {
        "name": "all_fields",
        "in": "query",
        "description": "Include all complex attributes in the response. See clause 6.18 of ETSI GS MEC 009 for details.",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "Query.Fields": {
        "name": "fields",
        "in": "query",
        "description": "Complex attributes to be included into the response. See clause 6.18 of ETSI GS MEC 009 for details.",
        "required": false,
        "schema": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "Query.ExcludeFields": {
        "name": "exclude_fields",
        "in": "query",
        "description": "Complex attributes to be excluded from the response. See clause 6.18 of ETSI GS MEC 009 for details.",
        "required": false,
        "schema": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "Query.ExcludeDefault": {
        "name": "exclude_default",
        "in": "query",
        "description": "Indicates to exclude the following complex attributes from the response. See clause 6.18 of ETSI GS MEC 009 for details. The following attributes shall be excluded from the structure in the response body if this parameter is provided, or none of the parameters \"all_fields\", \"fields\", \"exclude_fields\", \"exclude_default\" are provided: Not applicable",
        "required": false,
        "schema": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "Query.SubscriptionType": {
        "name": "subscription_type",
        "in": "query",
        "description": "Filter on a specific subscription type. Permitted values: assoc_sta, sta_data_rate.",
        "required": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "schemas": {
      "ApAssociated": {
        "properties": {
          "assocId": {
            "description": "Unique number which identifies a particular association between the station and Access Point.",
            "type": "string",
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-origin-type": "string"
          },
          "ipAddress": {
            "description": "IPv4 or IPv6 address allocated for the Access Point.",
            "items": {
              "type": "string"
            },
            "minItems": 0,
            "type": "array",
            "x-etsi-mec-cardinality": "0..N",
            "x-etsi-mec-origin-type": "string"
          },
          "macId": {
            "description": "Unique identifier assigned to the Access Point (as network interface controller) for communications at the data link layer of a network segment.",
            "type": "string",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "string"
          },
          "ssid": {
            "description": "Service Set Identifier to identify logical networks.",
            "items": {
              "type": "string"
            },
            "minItems": 0,
            "type": "array",
            "x-etsi-mec-cardinality": "0..N",
            "x-etsi-mec-origin-type": "String"
          }
        },
        "required": [
          "macId"
        ],
        "type": "object",
        "x-etsi-ref": "6.5.12"
      },
      "ApIdentity": {
        "properties": {
          "ipAddress": {
            "description": "IPv4 or IPv6 address allocated for the Access Point.",
            "items": {
              "type": "string"
            },
            "minItems": 0,
            "type": "array",
            "x-etsi-mec-cardinality": "0..N",
            "x-etsi-mec-origin-type": "String"
          },
          "macId": {
            "description": "Unique Identifier assigned to an Access Point (as network interface controller) for communications at the data link layer of a network segment.",
            "type": "string",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "String"
          },
          "ssid": {
            "description": "Service Set Identifier to identify logical networks including Basic Service Set and Extended Service Set.",
            "items": {
              "type": "string"
            },
            "minItems": 0,
            "type": "array",
            "x-etsi-mec-cardinality": "0..N",
            "x-etsi-mec-origin-type": "String"
          }
        },
        "required": [
          "macId"
        ],
        "type": "object",
        "x-etsi-ref": "6.5.3"
      },
      "ApInfo": {
        "properties": {
          "apId": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/ApIdentity"
Michel Roy's avatar
Michel Roy committed
          },
          "apLocation": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/ApLocation"
Michel Roy's avatar
Michel Roy committed
          },
          "apNeighbor": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/NeighborReport"
Michel Roy's avatar
Michel Roy committed
          },
          "bssLoad": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/BssLoad"
Michel Roy's avatar
Michel Roy committed
          },
          "channel": {
            "description": "Channel configured for the Access Point.",
Michel Roy's avatar
Michel Roy committed
            "format": "uint32",
Michel Roy's avatar
Michel Roy committed
            "type": "integer",
Michel Roy's avatar
Michel Roy committed
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-origin-type": "Uint32"
          },
          "extBssLoad": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/ExtBssLoad"
Michel Roy's avatar
Michel Roy committed
          },
          "timeStamp": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/TimeStamp"
Michel Roy's avatar
Michel Roy committed
          },
          "wanMetrics": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/WanMetrics"
Michel Roy's avatar
Michel Roy committed
          },
          "wlanCap": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/WlanCapabilities"
Michel Roy's avatar
Michel Roy committed
          }
        },
        "required": [
          "apId"
        ],
        "type": "object",
        "x-etsi-ref": "6.2.2"
      },
      "ApLocation": {
        "properties": {
          "civicLocation": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/CivicLocation"
Michel Roy's avatar
Michel Roy committed
          },
          "geolocation": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/GeoLocation"
Michel Roy's avatar
Michel Roy committed
          }
        },
        "type": "object",
        "x-etsi-ref": "6.5.9"
      },
      "AssocStaNotification": {
        "properties": {
          "apId": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/ApIdentity"
Michel Roy's avatar
Michel Roy committed
          },
          "notificationType": {
            "description": "Shall be set to \"AssocStaNotification\".",
            "type": "string",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "String"
          },
          "staId": {
            "description": "Identifier(s) to uniquely specify the client station(s) associated.",
            "items": {
              "$ref": "#/components/schemas/StaIdentity"
            },
            "minItems": 0,
            "type": "array",
            "x-etsi-mec-cardinality": "0..N",
            "x-etsi-mec-origin-type": "StaIdentity"
          },
          "timeStamp": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/TimeStamp"
Michel Roy's avatar
Michel Roy committed
          }
        },
        "required": [
          "notificationType",
          "apId"
        ],
        "type": "object",
        "x-etsi-ref": "6.4.2"
      },
      "AssocStaSubscription": {
        "properties": {
          "_links": {
            "description": "Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests.",
            "properties": {
              "self": {
Michel Roy's avatar
Michel Roy committed
                "$ref": "#/components/schemas/LinkType"
Michel Roy's avatar
Michel Roy committed
            "required": [
              "self"
            ],
Michel Roy's avatar
Michel Roy committed
            "type": "object",
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-origin-type": "Structure (inlined)"
          },
          "apId": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/ApIdentity"
Michel Roy's avatar
Michel Roy committed
          },
          "callbackReference": {
            "description": "URI selected by the service consumer to receive notifications on the subscribed WLAN information. This shall be included both in the request and in response.",
            "format": "uri",
            "type": "string",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "URI"
          },
          "expiryDeadline": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/TimeStamp"
Michel Roy's avatar
Michel Roy committed
          },
          "subscriptionType": {
            "description": "Shall be set to \"AssocStaSubscription\".",
            "type": "string",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "String"
          }
        },
        "required": [
          "subscriptionType",
          "callbackReference",
          "apId"
        ],
        "type": "object",
        "x-etsi-ref": "6.3.2"
      },
      "AssociatedStations": {
        "properties": {
          "assocId": {
            "description": "Unique number which identifies a particular association between an Access Point and a station.",
            "type": "string",
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-origin-type": "string"
          },
          "ipAddress": {
            "description": "IPv4 or IPv6 address allocated for the station associated with the Access Point.",
            "items": {
              "type": "string"
            },
            "minItems": 0,
            "type": "array",
            "x-etsi-mec-cardinality": "0..N",
            "x-etsi-mec-origin-type": "string"
          },
          "macId": {
            "description": "Unique identifier assigned to a station (as network interface controller) for communications at the data link layer of a network segment.",
            "type": "string",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "string"
          }
        },
        "required": [
          "macId"
        ],
        "type": "object",
        "x-etsi-ref": "6.5.5"
      },
      "BeaconReport": {
        "properties": {
          "bssId": {
            "description": "The BSSID field indicates the BSSID of the BSS(s) for which a beacon report has been received.",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "type": "array",
            "x-etsi-mec-cardinality": "1..N",
            "x-etsi-mec-origin-type": "String"
          },
          "channelId": {
            "description": "Channel number where the beacon was received.",
            "type": "integer",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "Integer"
          },
          "measurementId": {
            "description": "Measurement ID of the Measurement configuration applied to this Beacon Report.",
            "type": "string",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "String"
          },
          "reportingCondition": {
            "description": "As in table T9-89 of IEEE 802.11-2012 [8].",
            "type": "integer",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "Integer"
          },
          "ssId": {
            "description": "(Optional) The SSID subelement indicates the ESS(s) or IBSS(s) for which a beacon report is received.",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "type": "array",
            "x-etsi-mec-cardinality": "1..N",
            "x-etsi-mec-origin-type": "String"
          },
          "staId": {
Michel Roy's avatar
Michel Roy committed
            "$ref": "#/components/schemas/StaIdentity"
Michel Roy's avatar
Michel Roy committed
          }
        },
        "required": [
          "staId",
          "measurementId",
          "channelId",
          "bssId",
          "ssId",
          "reportingCondition"
        ],