{
  "$id": "https://raw.githubusercontent.com/discoxyz/disco-schemas/main/json/SmartContractDeploymentsCredential/1-0-0.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "The number of smart contract deployments associated with the subject’s address.",
  "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": {
        "address": {
          "title": "Address",
          "type": "integer"
        },
        "chain": {
          "title": "Chain",
          "type": "string"
        },
        "id": {
          "format": "uri",
          "title": "Recipient DID",
          "type": "string"
        },
        "numberOfDeploys": {
          "title": "# of Mainnet Smart Contract Deployments",
          "type": "string"
        }
      },
      "required": [
        "id",
        "address",
        "numberOfDeploys",
        "chain"
      ],
      "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": "Smart Contract Deployments Credential",
  "type": "object"
}