{
    "": {
        "entityTypes": {
            "User": {
                "shape": {
                    "type": "Record",
                    "attributes": {
                        "account": {
                            "type": "Entity",
                            "name": "Account"
                        }
                    }
                },
                "memberOfTypes": [
                    "UserGroup"
                ]
            },
            "Account": {
                "shape": {
                    "type": "Record",
                    "attributes": {
                        "age": {
                            "type": "Long"
                        }
                    }
                },
                "memberOfTypes": []
            },
            "ScreenTime": {
                "memberOfTypes": []
            },
            "UserGroup": {
                "memberOfTypes": []
            },
            "Photo": {
                "shape": {
                    "type": "Record",
                    "attributes": {
                        "owner": {
                            "type": "Entity",
                            "name": "User"
                        }
                    }
                },
                "memberOfTypes": [
                    "Album"
                ]
            },
            "Album": {
                "memberOfTypes": [
                    "Album"
                ]
            }
        },
        "actions": {
            "view": {
                "appliesTo": {
                    "resourceTypes": [
                        "Photo",
                        "ScreenTime"
                    ],
                    "principalTypes": [
                        "User"
                    ]
                }
            },
            "edit": {
                "appliesTo": {
                    "resourceTypes": [
                        "Photo"
                    ],
                    "principalTypes": [
                        "User"
                    ]
                }
            }
        }
    }
}
