Schemas / Legal (agreements)

rig.legal.agreement

v0.31.0 · draft 6 fields 0 required

Fields

FieldTypeMeaning
kind enumemployment · nda · licence · lease · loan · service · sale · other optional employment / nda / licence / lease / loan / service / sale / other
identifier string optional Contract / agreement number as issued
status enumdraft · offered · signed · active · suspended · terminated · expired optional draft / offered / signed / active / suspended / terminated / expired
governingLaw string optional Jurisdiction as written (e.g. England and Wales)
signedDate string optional Day the instrument was executed, YYYY-MM-DD
instrument entity optional Optional. Signed file (rig.media.asset_ref kind document)

A deal between parties. Format when present.

Field meanings follow schema.org Contract and ISO 20022 AgreementIdentification. This schema is those deal elements - not the Rig Contract (this vocabulary), not a contract-management workflow, and not the copyright of a work.

All fields optional. Emit what the source has. An empty component is invalid - attach at least one field.

The title is rig.meta.named. The term is rig.calendar.span. Each side is a rig.legal.party entity. Do not put party name strings here.

Copyright and licence of a work stay on rig.rights.statement. A licence agreement (you may use this work for a show) is this schema with kind licence. Job facts stay on rig.person.employment - do not copy jobTitle onto the instrument.

E-sign, countersignature workflow, and clause text are fulfillment. Clause copy that must travel is rig.story.flow or the instrument file - not an unstructured blob here.

JSON Schema

Resolves at https://rig.works/schemas/rig.legal.agreement.schema.jsonraw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.legal.agreement.schema.json",
  "title": "rig.legal.agreement",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "employment",
        "nda",
        "licence",
        "lease",
        "loan",
        "service",
        "sale",
        "other"
      ]
    },
    "identifier": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "offered",
        "signed",
        "active",
        "suspended",
        "terminated",
        "expired"
      ]
    },
    "governingLaw": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "signedDate": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
      "description": "ISO 8601 calendar date."
    },
    "instrument": {
      "$ref": "./_defs.schema.json#/$defs/entity"
    }
  },
  "description": "A deal between parties. Field meanings follow schema.org Contract and ISO 20022 AgreementIdentification. Term dates compose rig.calendar.span.",
  "minProperties": 1
}

Seen in

legal-agreement.json