For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve all the data needed for evaluating the rules

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
Responses
200

Successful operation.

application/json
post/schema-rules/data
POST /api/v1/schema-rules/data HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1374

{
  "rules": {
    "id": "000000000000000000000001",
    "uuid": "00000000-0000-0000-0000-000000000000",
    "name": "Tool name",
    "description": "Description",
    "creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
    "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
    "policyId": "000000000000000000000001",
    "policyTopicId": "0.0.1",
    "policyInstanceTopicId": "0.0.1",
    "status": "DRAFT",
    "config": {}
  },
  "document": {
    "id": "000000000000000000000001",
    "policyId": "000000000000000000000001",
    "hash": "hash",
    "signature": 0,
    "status": "NEW",
    "tag": "Block tag",
    "type": "Document type",
    "createDate": "1900-01-01T00:00:00.000Z",
    "updateDate": "1900-01-01T00:00:00.000Z",
    "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
    "document": {
      "@context": [
        "text"
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "type": [
        "text"
      ],
      "verifiableCredential": [
        {}
      ],
      "proof": {}
    }
  },
  "relationships": [
    {
      "id": "000000000000000000000001",
      "policyId": "000000000000000000000001",
      "hash": "hash",
      "signature": 0,
      "status": "NEW",
      "tag": "Block tag",
      "type": "Document type",
      "createDate": "1900-01-01T00:00:00.000Z",
      "updateDate": "1900-01-01T00:00:00.000Z",
      "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
      "document": {
        "@context": [
          "text"
        ],
        "id": "00000000-0000-0000-0000-000000000000",
        "type": [
          "text"
        ],
        "verifiableCredential": [
          {}
        ],
        "proof": {}
      }
    }
  ]
}
{
  "rules": {
    "id": "000000000000000000000001",
    "uuid": "00000000-0000-0000-0000-000000000000",
    "name": "Tool name",
    "description": "Description",
    "creator": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
    "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
    "policyId": "000000000000000000000001",
    "policyTopicId": "0.0.1",
    "policyInstanceTopicId": "0.0.1",
    "status": "DRAFT",
    "config": {}
  },
  "document": {
    "id": "000000000000000000000001",
    "policyId": "000000000000000000000001",
    "hash": "hash",
    "signature": 0,
    "status": "NEW",
    "tag": "Block tag",
    "type": "Document type",
    "createDate": "1900-01-01T00:00:00.000Z",
    "updateDate": "1900-01-01T00:00:00.000Z",
    "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
    "document": {
      "@context": [
        "text"
      ],
      "id": "00000000-0000-0000-0000-000000000000",
      "type": [
        "text"
      ],
      "verifiableCredential": [
        {}
      ],
      "proof": {}
    }
  },
  "relationships": [
    {
      "id": "000000000000000000000001",
      "policyId": "000000000000000000000001",
      "hash": "hash",
      "signature": 0,
      "status": "NEW",
      "tag": "Block tag",
      "type": "Document type",
      "createDate": "1900-01-01T00:00:00.000Z",
      "updateDate": "1900-01-01T00:00:00.000Z",
      "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
      "document": {
        "@context": [
          "text"
        ],
        "id": "00000000-0000-0000-0000-000000000000",
        "type": [
          "text"
        ],
        "verifiableCredential": [
          {}
        ],
        "proof": {}
      }
    }
  ]
}

Was this helpful?