starlinglab / integrity-backend

Backend server for registering and configurable processing of authenticated assets in the Starling Integrity framework.
MIT License
9 stars 3 forks source link

Document collections config file schema and metadata file structure #88

Open YurkoWasHere opened 2 years ago

YurkoWasHere commented 2 years ago

Holding place for integrity backend config file

{
    "organizations": [
        {
            "id": "starling-lab-test",
            "collections": [
                {
                    "id": "test-bot-archive-slack",
                    "asset_extensions": [
                        "zip"
                    ],
                    "actions": [
                        {
                            "name": "archive",
                            "params": {
                                "authsigner": "starlinglab-authsign",
                                "encryption": {
                                    "algo": "aes-256-cbc",
                                    "key": "starlinglab-aes-256"
                                },
                                "registration_policies": {
                                    "opentimestamps": {
                                        "active": true
                                    },
                                    "iscn": {
                                        "active": true
                                    },
                                    "numbersprotocol": {
                                        "active": true
                                    }
                                }
                            }
                        }
                    ]
                },
                {
                    "id": "test-bot-archive-telegram",
                    "asset_extensions": [
                        "zip"
                    ],
                    "actions": [
                        {
                            "name": "archive",
                            "params": {
                                "authsigner": "starlinglab-authsign",
                                "encryption": {
                                    "algo": "aes-256-cbc",
                                    "key": "starlinglab-aes-256"
                                },
                                "registration_policies": {
                                    "opentimestamps": {
                                        "active": true
                                    },
                                    "iscn": {
                                        "active": true
                                    },
                                    "numbersprotocol": {
                                        "active": true
                                    }
                                }
                            }
                        }
                    ]
                },
                {
                    "id": "test-web-archive",
                    "asset_extensions": [
                        "wacz"
                    ],
                    "actions": [
                        {
                            "name": "archive",
                            "params": {
                                "authsigner": "starlinglab-authsign",
                                "encryption": {
                                    "algo": "aes-256-cbc",
                                    "key": "starlinglab-aes-256"
                                },
                                "registration_policies": {
                                    "opentimestamps": {
                                        "active": true
                                    },
                                    "iscn": {
                                        "active": true
                                    },
                                    "numbersprotocol": {
                                        "active": true
                                    }
                                }
                            }
                        }
                    ]
                },
                {
                    "id": "test-web-archive-dfrlab",
                    "asset_extensions": [
                        "wacz"
                    ],
                    "actions": [
                        {
                            "name": "archive",
                            "params": {
                                "authsigner": "starlinglab-authsign",
                                "encryption": {
                                    "algo": "aes-256-cbc",
                                    "key": "starlinglab-aes-256"
                                },
                                "registration_policies": {
                                    "opentimestamps": {
                                        "active": true
                                    },
                                    "iscn": {
                                        "active": true
                                    },
                                    "numbersprotocol": {
                                        "active": true
                                    }
                                }
                            }
                        }
                    ]
                },
{
                    "id": "test-dropbox,
                    "asset_extensions": [
                        "jpg","wacz","zip"
                    ],
                    "actions": [
                        {
                            "name": "archive",
                            "params": {
                                "authsigner": "starlinglab-authsign",
                                "encryption": {
                                    "algo": "aes-256-cbc",
                                    "key": "starlinglab-aes-256"
                                },
                                "registration_policies": {
                                    "opentimestamps": {
                                        "active": true
                                    },
                                    "iscn": {
                                        "active": true
                                    },
                                    "numbersprotocol": {
                                        "active": true
                                    }
                                }
                            }
                        }
                    ]
                }
            ]
        }
    ]
}
benhylau commented 2 years ago