{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.rights.statement.schema.json",
  "title": "rig.rights.statement",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "copyrightHolder": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    },
    "copyrightYear": {
      "type": "integer",
      "minimum": 1000,
      "maximum": 9999
    },
    "licence": {
      "type": "string",
      "enum": [
        "all-rights-reserved",
        "public-domain",
        "cc0",
        "cc-by",
        "cc-by-sa",
        "cc-by-nd",
        "cc-by-nc",
        "cc-by-nc-sa",
        "cc-by-nc-nd",
        "other"
      ]
    },
    "licenceUri": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "rightsStatementUri": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "creditLine": {
      "$ref": "./_defs.schema.json#/$defs/string"
    }
  },
  "description": "Copyright and licence. Meanings follow Dublin Core rights and RightsStatements.org. Compose onto the work.",
  "minProperties": 1
}
