github.com/instill-ai/component@v0.16.0-beta/pkg/connector/numbers/v0/config/tasks.json (about)

     1  {
     2    "TASK_REGISTER": {
     3      "instillShortDescription": "Register a file into NumbersProtocol Chain.",
     4      "input": {
     5        "description": "Input",
     6        "instillUIOrder": 0,
     7        "properties": {
     8          "images": {
     9            "description": "The images you want to upload to blockchain.",
    10            "instillAcceptFormats": [
    11              "array:image/*"
    12            ],
    13            "instillUIOrder": 0,
    14            "instillUpstreamTypes": [
    15              "reference"
    16            ],
    17            "items": {
    18              "contentEncoding": "base64",
    19              "type": "string"
    20            },
    21            "title": "Images",
    22            "type": "array"
    23          },
    24          "headline": {
    25            "description": "Headline of the asset",
    26            "instillAcceptFormats": [
    27              "string"
    28            ],
    29            "instillUIOrder": 2,
    30            "instillUpstreamTypes": [
    31              "value",
    32              "reference",
    33              "template"
    34            ],
    35            "title": "Headline",
    36            "type": "string"
    37          },
    38          "caption": {
    39            "description": "Caption of the asset.",
    40            "instillAcceptFormats": [
    41              "string"
    42            ],
    43            "instillUIMultiline": true,
    44            "instillUIOrder": 1,
    45            "instillUpstreamTypes": [
    46              "value",
    47              "reference",
    48              "template"
    49            ],
    50            "title": "Caption",
    51            "type": "string"
    52          },
    53          "asset_creator": {
    54            "description": "Name of the asset creator.",
    55            "instillAcceptFormats": [
    56              "string"
    57            ],
    58            "instillUIOrder": 2,
    59            "instillUpstreamTypes": [
    60              "value",
    61              "reference",
    62              "template"
    63            ],
    64            "title": "Asset Creator",
    65            "type": "string"
    66          },
    67          "digital_source_type": {
    68            "default": "trainedAlgorithmicMedia",
    69            "description": "Specify the type of the source. More details <a href=\"https://docs.numbersprotocol.io/introduction/numbers-protocol/defining-web3-assets/assettree/digitalsourcetype\">here</a>",
    70            "enum": [
    71              "trainedAlgorithmicMedia",
    72              "trainedAlgorithmicData",
    73              "digitalCapture",
    74              "digitalArt",
    75              "algorithmicMedia"
    76            ],
    77            "instillAcceptFormats": [
    78              "string"
    79            ],
    80            "instillUIOrder": 5,
    81            "instillUpstreamTypes": [
    82              "value",
    83              "reference",
    84              "template"
    85            ],
    86            "title": "Digital Source Type",
    87            "type": "string"
    88          },
    89          "generated_by": {
    90            "description": "The AI model used to generate the content.",
    91            "instillAcceptFormats": [
    92              "string"
    93            ],
    94            "instillUIOrder": 6,
    95            "instillUpstreamTypes": [
    96              "value",
    97              "reference",
    98              "template"
    99            ],
   100            "title": "Generated By",
   101            "type": "string"
   102          },
   103          "license": {
   104            "description": "License",
   105            "instillUIOrder": 7,
   106            "properties": {
   107              "document": {
   108                "description": "URL of the license file.",
   109                "instillAcceptFormats": [
   110                  "string"
   111                ],
   112                "instillEnableCopyButton": true,
   113                "instillUIOrder": 0,
   114                "instillUpstreamTypes": [
   115                  "value",
   116                  "reference",
   117                  "template"
   118                ],
   119                "title": "License Document",
   120                "type": "string"
   121              },
   122              "name": {
   123                "description": "License of the asset file.",
   124                "instillAcceptFormats": [
   125                  "string"
   126                ],
   127                "instillUIOrder": 1,
   128                "instillUpstreamTypes": [
   129                  "value",
   130                  "reference",
   131                  "template"
   132                ],
   133                "title": "License Name",
   134                "type": "string"
   135              }
   136            },
   137            "required": [],
   138            "title": "License",
   139            "type": "object"
   140          },
   141          "mining_preference": {
   142            "default": "notAllowed",
   143            "description": "Designates the selection made by the asset creators or licensed owners to decide if the asset is suitable for inclusion in a data mining or AI/ML training workflow. More details <a href=\"https://docs.numbersprotocol.io/introduction/numbers-protocol/defining-web3-assets/assettree/miningpreference\">here</a>",
   144            "enum": [
   145              "dataMining",
   146              "aiInference",
   147              "notAllowed",
   148              "aiGenerativeTraining",
   149              "aiGenerativeTrainingWithAuthorship",
   150              "aiTraining",
   151              "aiTrainingWithAuthorship"
   152            ],
   153            "instillAcceptFormats": [
   154              "string"
   155            ],
   156            "instillShortDescription": "Designates the selection made by the asset creators or licensed owners. More details <a href=\"https://docs.numbersprotocol.io/introduction/numbers-protocol/defining-web3-assets/assettree/miningpreference\">here</a>",
   157            "instillUIOrder": 8,
   158            "instillUpstreamTypes": [
   159              "value",
   160              "reference",
   161              "template"
   162            ],
   163            "title": "Mining Preference",
   164            "type": "string"
   165          }
   166        },
   167        "required": [
   168          "images"
   169        ],
   170        "title": "Input",
   171        "type": "object"
   172      },
   173      "output": {
   174        "description": "Output",
   175        "instillUIOrder": 0,
   176        "properties": {
   177          "asset_urls": {
   178            "description": "Asset Urls",
   179            "instillEnableCopyButton": true,
   180            "instillUIOrder": 0,
   181            "instillFormat": "array:string",
   182            "items": {
   183              "instillEnableCopyButton": true,
   184              "instillFormat": "string",
   185              "title": "Asset Url",
   186              "type": "string"
   187            },
   188            "title": "Asset Urls",
   189            "type": "array"
   190          }
   191        },
   192        "required": [
   193          "asset_urls"
   194        ],
   195        "title": "Output",
   196        "type": "object"
   197      }
   198    }
   199  }