{
  "$id": "https://raw.githubusercontent.com/discoxyz/disco-schemas/main/json/TimedMintReceiptCredential/1-0-0.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Recognizes the holder participated in a timed mint.",
  "properties": {
    "@context": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array"
        },
        {
          "type": "object"
        }
      ]
    },
    "credentialSchema": {
      "properties": {
        "id": {
          "format": "uri",
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "type"
      ],
      "type": "object"
    },
    "credentialSubject": {
      "properties": {
        "id": {
          "format": "uri",
          "title": "Recipient DID",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "publicationId": {
          "title": "Publication ID",
          "type": "string"
        },
        "publicationName": {
          "title": "Publication Name",
          "type": "string"
        },
        "rank": {
          "title": "Rank",
          "type": "integer"
        },
        "timeOfMint": {
          "format": "date",
          "title": "Time of Mint",
          "type": "string"
        },
        "walletAddress": {
          "title": "Wallet Address",
          "type": "string"
        }
      },
      "required": [
        "id",
        "walletAddress",
        "name",
        "publicationId",
        "publicationName",
        "timeOfMint",
        "rank"
      ],
      "type": "object"
    },
    "expirationDate": {
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "format": "uri",
      "type": "string"
    },
    "issuanceDate": {
      "format": "date-time",
      "type": "string"
    },
    "issuer": {
      "anyOf": [
        {
          "format": "uri",
          "type": "string"
        },
        {
          "properties": {
            "id": {
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      ]
    },
    "type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ]
    }
  },
  "required": [
    "@context",
    "type",
    "issuer",
    "issuanceDate",
    "credentialSubject"
  ],
  "title": "Timed Mint Receipt Credential",
  "type": "object"
}