{
  "$schema": "http://json-schema.org/draft-07/schema",
  "title": "Soft-launch permissions schema",
  "type": "object",
  "required": [
    "schema_url",
    "schema_version",
    "audience",
    "invitation",
    "grant_summary",
    "offeror",
    "declaration_basis",
    "rights_status",
    "rights_assertion",
    "asset_specific_exceptions",
    "content_type_declaration",
    "license",
    "grant_scope",
    "source_components_inherit_this_license",
    "legal_instrument",
    "grant_interpretation",
    "precedence",
    "examples_of_permitted_uses",
    "obligations",
    "attribution",
    "outputs",
    "return",
    "excluded_assets",
    "stage",
    "publicActivationAllowed"
  ],
  "properties": {
    "schema_url": {
      "type": "string"
    },
    "schema_version": {
      "type": "number"
    },
    "audience": {
      "type": "string"
    },
    "invitation": {
      "type": "string"
    },
    "grant_summary": {
      "type": "string"
    },
    "offeror": {
      "type": "object"
    },
    "declaration_basis": {
      "type": "string"
    },
    "rights_status": {
      "type": "string"
    },
    "rights_assertion": {
      "type": "string"
    },
    "asset_specific_exceptions": {
      "type": "array"
    },
    "content_type_declaration": {
      "type": "object"
    },
    "license": {
      "type": "string"
    },
    "grant_scope": {
      "type": "string"
    },
    "source_components_inherit_this_license": {
      "type": "boolean"
    },
    "legal_instrument": {
      "type": "object"
    },
    "grant_interpretation": {
      "type": "object"
    },
    "precedence": {
      "type": "object"
    },
    "examples_of_permitted_uses": {
      "type": "object"
    },
    "obligations": {
      "type": "object"
    },
    "attribution": {
      "type": "object"
    },
    "outputs": {
      "type": "object"
    },
    "return": {
      "type": "object"
    },
    "excluded_assets": {
      "type": "array"
    },
    "stage": {
      "type": "string"
    },
    "publicActivationAllowed": {
      "type": "boolean"
    },
    "canonical_origin": {
      "type": "string",
      "const": "https://hellodoggo.ai"
    },
    "canonical_url": {
      "type": "string"
    },
    "component_rights_url": {
      "type": "string"
    },
    "target_id": {
      "type": "string"
    },
    "source_components": {
      "type": [
        "object",
        "string",
        "null"
      ]
    },
    "human_readable_url": {
      "type": "string",
      "format": "uri"
    },
    "catalog_url": {
      "type": "string",
      "format": "uri"
    },
    "start_path": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "permissions_url",
        "catalog_url",
        "example_recording_id",
        "example_manifest_url",
        "catalog_id_prefixes",
        "next_hop_field",
        "media_selection",
        "optional_correspondence_url"
      ],
      "properties": {
        "permissions_url": {
          "type": "string",
          "format": "uri"
        },
        "catalog_url": {
          "type": "string",
          "format": "uri"
        },
        "example_recording_id": {
          "type": "string",
          "pattern": "^recording:"
        },
        "example_manifest_url": {
          "type": "string",
          "format": "uri"
        },
        "catalog_id_prefixes": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "next_hop_field": {
          "const": "manifest_url"
        },
        "media_selection": {
          "type": "string"
        },
        "optional_correspondence_url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  },
  "additionalProperties": false,
  "canonical_origin": "https://hellodoggo.ai",
  "canonical_url": "https://hellodoggo.ai/non-human-intelligence/schemas/soft-launch/permissions-v1.json",
  "$id": "https://hellodoggo.ai/non-human-intelligence/schemas/soft-launch/permissions-v1.json"
}
