{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/AdministrativeDecision.schema.json",
  "title": "AdministrativeDecision",
  "description": "A decision made by an authority about a particular person, organization or thing under the rules it applies, such as granting a permit, imposing a measure or upholding an appeal. Its authority is the organization that made the decision, and its subject URI names the subject decided on. Its outcome, effective time and legal resources are interpreted in the applicable jurisdiction; recording a decision does not prove finality or current permission. A decision on eligibility for a program is recorded as EligibilityDecision.",
  "type": "object",
  "properties": {
    "identifiers": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Identifier.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Identifiers carried by this entity, such as national ID numbers, program IDs, or identifiers asserted by an identity document."
      }
    },
    "decides_application": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/ServiceApplication.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The service application determined by this decision. An authority-initiated action or an appeal determination need not originate from a service application."
    },
    "subject_uri": {
      "type": "string",
      "format": "uri",
      "description": "The URI of the thing this record or statement is about."
    },
    "authority": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Organization.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The organization responsible for the act or event a record describes, such as the body that receives an application, decides a case, reviews an appeal, inspects a subject or takes a measure. Each class using it states which of these roles applies. It links to an Organization, whereas issuing_authority names the issuer of a document or credential as text."
    },
    "decision_outcome": {
      "$ref": "https://publicschema.org/CodedValue.schema.json",
      "description": "The result of the decision, such as granted, refused, upheld or overturned. The legal meaning and effect of the code depend on its scheme and the applicable jurisdiction."
    },
    "decision_date": {
      "type": "string",
      "format": "date",
      "description": "The date on which the decision was made, which may precede the time it was recorded."
    },
    "effective_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time at which the change or decision took effect, which can be earlier or later than when it was recorded. For the day from which a ConsentRecord or PrivacyNotice applies, use effective_date."
    },
    "legal_resources": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri",
        "description": "Identified legal provisions or policy resources that a service, organization, decision, measure, representation or institutional change relies on. A link does not execute a rule or establish which version is applicable. For the legal basis for processing personal data, use legal_basis."
      }
    },
    "decision_registrations": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Registration.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Registrations established by this decision, such as a permit, a voter registration or a tax registration. A later suspension or appeal is represented separately and does not rewrite the original grant or its issuing authority."
      }
    },
    "decision_regulatory_actions": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/RegulatoryAction.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Regulatory actions resulting from this determination, with their own subjects, scopes and conditions. A linked action does not imply that every permission of its holder is affected."
      }
    },
    "resolves_appeal": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/AdministrativeAppeal.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The appeal determined by this decision. Resolution is a separate determination and retains the link to the original challenged decision."
    },
    "evidence_assertions": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/EvidenceAssertion.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Statements identifying sources that support or contradict this statement."
      }
    },
    "recorded_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the statement or event was entered into its source record. It can differ from when the fact took effect."
    }
  }
}
