c2pa-rs

A fork of https://github.com/contentauth/c2pa-rs/
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.git
Log | Files | Refs | README

manifest.json (2723B)


      1 {
      2     "claim_generator": "test",
      3     "claim_generator_info": [
      4         {
      5             "name": "test",
      6             "version": "1.0",
      7             "icon": {
      8                 "format": "image/svg+xml",
      9                 "identifier": "sample1.svg"
     10             }
     11         }
     12     ],
     13     "format" : "image/jpeg",
     14     "thumbnail": {
     15         "format": "image/jpeg",
     16         "identifier": "IMG_0003.jpg"
     17     },
     18     "assertions": [
     19         {
     20             "label": "c2pa.actions.v2",
     21             "data": {
     22                 "actions": [
     23                     {
     24                         "action": "c2pa.opened",
     25                         "instanceId": "xmp.iid:7b57930e-2f23-47fc-affe-0400d70b738d",
     26                         "parameters": {
     27                             "description": "import"
     28                         },
     29                         "digitalSourceType": "http://cv.iptc.org/newscodes/digitalsourcetype/algorithmicMedia",
     30                         "softwareAgent": {
     31                             "name": "TestApp",
     32                             "version": "1.0",
     33                             "icon": {
     34                                 "format": "image/svg+xml",
     35                                 "identifier": "sample1.svg"
     36                             },
     37                             "something": "else"
     38                         }
     39                     }
     40                 ],
     41                 "templates": [
     42                     {
     43                         "action": "c2pa.opened",
     44                         "softwareAgent": {
     45                             "name": "TestApp",
     46                             "version": "1.0",
     47                             "icon": {
     48                                 "format": "image/svg+xml",
     49                                 "identifier": "sample1.svg"
     50                             },
     51                             "something": "else"
     52                         },
     53                         "icon": {
     54                             "format": "image/svg+xml",
     55                             "identifier": "sample1.svg"
     56                         }
     57                     }
     58                 ]
     59             }
     60         }
     61     ],
     62     "ingredients": [{
     63         "title": "A.jpg",
     64         "format": "image/jpeg",
     65         "document_id": "xmp.did:813ee422-9736-4cdc-9be6-4e35ed8e41cb",
     66         "relationship": "parentOf",
     67         "thumbnail": {
     68             "format": "image/png",
     69             "identifier": "exp-test1.png"
     70         }
     71     },
     72     {
     73         "title": "prompt",
     74         "format": "text/plain",
     75         "relationship": "inputTo",
     76         "data": {
     77           "format": "text/plain",
     78           "identifier": "prompt.txt",
     79           "data_types": [
     80             {
     81               "type": "c2pa.types.generator.prompt"
     82             }
     83           ]
     84         }
     85       }
     86     ]
     87 }