{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gsma/json-schema/gsma-access-endpoints-schema.json",
  "title": "AccessEndpoints",
  "description": "Application Endpoint for an especific instance that is\nrunning in an specific Edge Cloud Zone.\n",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gsma-discovery-api-openapi.yml#/components/schemas/AccessEndpoints",
  "type": "object",
  "required": [
    "port"
  ],
  "anyOf": [
    {
      "required": [
        "fqdn"
      ]
    },
    {
      "required": [
        "ipv4Addresses"
      ]
    },
    {
      "required": [
        "ipv6Addresses"
      ]
    }
  ],
  "properties": {
    "port": {
      "$ref": "#/$defs/Port"
    },
    "fqdn": {
      "$ref": "#/$defs/Fqdn"
    },
    "ipv4Addresses": {
      "description": "IP version 4 of an application instance.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Ipv4Addr"
      },
      "minItems": 1
    },
    "ipv6Addresses": {
      "description": "IP version 6 of an application instance.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Ipv6Addr"
      },
      "minItems": 1
    }
  },
  "$defs": {
    "Fqdn": {
      "type": "string",
      "description": "Fully Qualified Domain Name."
    },
    "Ipv4Addr": {
      "type": "string",
      "description": "IP of the device. A single IPv4 address may be specified in\ndotted-quad form 1.2.3.4. Only this exact IP number will match the flow\ncontrol rule.\n"
    },
    "Ipv6Addr": {
      "type": "string",
      "description": "IP of the device. A single IPv6 address, following IETF 5952\nformat, may be specified like 2001:db8:85a3:8d3:1319:8a2e:370:7344\n"
    },
    "Port": {
      "type": "integer",
      "description": "Port to stablish the connection",
      "minimum": 0
    }
  }
}