social.dracome.contributor.defs

dracome.social

Documentation

contributorIdentifier object

An external identifier for a contributor from a known authority (GND, VIAF, Wikidata, or Open Library).

Properties

scheme string Required

The identifier scheme, lowercase like work.defs#catalogIdentifier: gnd (German National Library), viaf (Virtual International Authority File), wikidata (Wikidata entity ID), ol-author (Open Library author key).

maxLength: 64 bytes
Known values: gnd, viaf, wikidata, ol-author
value string Required

The bare identifier value, matching Dracome's internal storage convention (e.g., GND number without URI prefix, VIAF ID without URL, Wikidata entity without prefix, OL key like OL123A).

maxLength: 256 bytes
View raw schema
{
  "description": "An external identifier for a contributor from a known authority (GND, VIAF, Wikidata, or Open Library).",
  "properties": {
    "scheme": {
      "description": "The identifier scheme, lowercase like work.defs#catalogIdentifier: gnd (German National Library), viaf (Virtual International Authority File), wikidata (Wikidata entity ID), ol-author (Open Library author key).",
      "knownValues": [
        "gnd",
        "viaf",
        "wikidata",
        "ol-author"
      ],
      "maxLength": 64,
      "type": "string"
    },
    "value": {
      "description": "The bare identifier value, matching Dracome's internal storage convention (e.g., GND number without URI prefix, VIAF ID without URL, Wikidata entity without prefix, OL key like OL123A).",
      "maxLength": 256,
      "type": "string"
    }
  },
  "required": [
    "scheme",
    "value"
  ],
  "type": "object"
}
contributorProfileRef object

A dereferenceable reference to a contributor's profile record on their own PDS.

Properties

cid string cid Optional

Optional content hash of the referenced record at time of reference; informational only.

uri string at-uri Required

AT-URI of the referenced social.dracome.contributor.profile record.

View raw schema
{
  "description": "A dereferenceable reference to a contributor's profile record on their own PDS.",
  "properties": {
    "cid": {
      "description": "Optional content hash of the referenced record at time of reference; informational only.",
      "format": "cid",
      "type": "string"
    },
    "uri": {
      "description": "AT-URI of the referenced social.dracome.contributor.profile record.",
      "format": "at-uri",
      "type": "string"
    }
  },
  "required": [
    "uri"
  ],
  "type": "object"
}
contributorRole string

The role a person played in creating a book. Currently only 'author' is known. Additional roles (translator, illustrator, narrator, editor, etc.) are expected to be added over time by appending to knownValues — adding a new role is an additive, backwards-compatible lexicon change, not a versioning event. Consumers MUST tolerate unknown values.

ConstraintsmaxLength: 64 bytes
Known Values (other values may be valid)
author
View raw schema
{
  "description": "The role a person played in creating a book. Currently only 'author' is known. Additional roles (translator, illustrator, narrator, editor, etc.) are expected to be added over time by appending to knownValues — adding a new role is an additive, backwards-compatible lexicon change, not a versioning event. Consumers MUST tolerate unknown values.",
  "knownValues": [
    "author"
  ],
  "maxLength": 64,
  "type": "string"
}
creditedContributor object

A person credited on a book with a specific role, carrying a resolvable profile reference. Used in submission records where a network-resolvable profile is assumed to exist.

Properties

role ref #contributorRole Required

The role this person held in creating this work.

View raw schema
{
  "description": "A person credited on a book with a specific role, carrying a resolvable profile reference. Used in submission records where a network-resolvable profile is assumed to exist.",
  "properties": {
    "contributor": {
      "description": "Reference to the credited person's profile record.",
      "ref": "#contributorProfileRef",
      "type": "ref"
    },
    "role": {
      "description": "The role this person held in creating this work.",
      "ref": "#contributorRole",
      "type": "ref"
    }
  },
  "required": [
    "contributor",
    "role"
  ],
  "type": "object"
}

Lexicon Garden

@