Creating content-types from schema

Hi There,

Is it possible to create content types from schema like the below or any other type of way through API/CLI ?

{
    "kind": "singleType",
    "collectionName": "my_trainings",
    "info": {
        "singularName": "my-training",
        "pluralName": "my-trainings",
        "displayName": "My Training",
        "description": ""
    },
    "options": {
        "draftAndPublish": true
    },
    "pluginOptions": {},
    "attributes": {
        "Questions": {
            "displayName": "My Phrases",
            "type": "component",
            "repeatable": true,
            "component": "global.my-phrases"
        }
    }
}

Thanks