|
3011 | 3011 | "title": "CloudQuery Plugin Table", |
3012 | 3012 | "type": "object" |
3013 | 3013 | }, |
3014 | | - "PluginTableCreate": { |
3015 | | - "additionalProperties": false, |
3016 | | - "description": "CloudQuery Plugin Table", |
3017 | | - "required": [ |
3018 | | - "name" |
3019 | | - ], |
3020 | | - "properties": { |
3021 | | - "description": { |
3022 | | - "description": "Description of the table", |
3023 | | - "type": "string", |
3024 | | - "example": "AWS S3 Buckets" |
3025 | | - }, |
3026 | | - "is_incremental": { |
3027 | | - "description": "Whether the table is incremental", |
3028 | | - "type": "boolean" |
3029 | | - }, |
3030 | | - "name": { |
3031 | | - "$ref": "#/components/schemas/PluginTableName" |
3032 | | - }, |
3033 | | - "parent": { |
3034 | | - "description": "Name of the parent table, if any", |
3035 | | - "type": "string", |
3036 | | - "example": "nil" |
3037 | | - }, |
3038 | | - "relations": { |
3039 | | - "description": "Names of the tables that depend on this table", |
3040 | | - "items": { |
3041 | | - "type": "string" |
3042 | | - }, |
3043 | | - "type": "array", |
3044 | | - "example": [ |
3045 | | - "aws_s3_bucket_cors_rules" |
3046 | | - ] |
3047 | | - }, |
3048 | | - "title": { |
3049 | | - "description": "Title of the table", |
3050 | | - "type": "string", |
3051 | | - "example": "AWS S3 Buckets" |
3052 | | - } |
3053 | | - }, |
3054 | | - "title": "CloudQuery Plugin Table", |
3055 | | - "type": "object" |
3056 | | - }, |
3057 | 3014 | "PluginTableColumn": { |
3058 | 3015 | "additionalProperties": false, |
3059 | 3016 | "description": "CloudQuery Plugin Column", |
|
3064 | 3021 | "not_null", |
3065 | 3022 | "primary_key", |
3066 | 3023 | "type", |
3067 | | - "is_unique" |
| 3024 | + "unique" |
3068 | 3025 | ], |
3069 | 3026 | "properties": { |
3070 | 3027 | "description": { |
|
3091 | 3048 | "description": "Arrow Type of the column", |
3092 | 3049 | "type": "string" |
3093 | 3050 | }, |
3094 | | - "is_unique": { |
| 3051 | + "unique": { |
3095 | 3052 | "description": "Whether the column has a unique constraint", |
3096 | 3053 | "type": "boolean" |
3097 | 3054 | } |
3098 | 3055 | }, |
3099 | 3056 | "title": "CloudQuery Plugin Table Column", |
3100 | 3057 | "type": "object" |
3101 | 3058 | }, |
| 3059 | + "PluginTableCreate": { |
| 3060 | + "additionalProperties": false, |
| 3061 | + "description": "CloudQuery Plugin Table", |
| 3062 | + "required": [ |
| 3063 | + "name" |
| 3064 | + ], |
| 3065 | + "properties": { |
| 3066 | + "description": { |
| 3067 | + "description": "Description of the table", |
| 3068 | + "type": "string", |
| 3069 | + "example": "AWS S3 Buckets" |
| 3070 | + }, |
| 3071 | + "is_incremental": { |
| 3072 | + "description": "Whether the table is incremental", |
| 3073 | + "type": "boolean" |
| 3074 | + }, |
| 3075 | + "name": { |
| 3076 | + "$ref": "#/components/schemas/PluginTableName" |
| 3077 | + }, |
| 3078 | + "parent": { |
| 3079 | + "description": "Name of the parent table, if any", |
| 3080 | + "type": "string", |
| 3081 | + "example": "nil" |
| 3082 | + }, |
| 3083 | + "relations": { |
| 3084 | + "description": "Names of the tables that depend on this table", |
| 3085 | + "items": { |
| 3086 | + "type": "string" |
| 3087 | + }, |
| 3088 | + "type": "array", |
| 3089 | + "example": [ |
| 3090 | + "aws_s3_bucket_cors_rules" |
| 3091 | + ] |
| 3092 | + }, |
| 3093 | + "title": { |
| 3094 | + "description": "Title of the table", |
| 3095 | + "type": "string", |
| 3096 | + "example": "AWS S3 Buckets" |
| 3097 | + }, |
| 3098 | + "columns": { |
| 3099 | + "type": "array", |
| 3100 | + "items": { |
| 3101 | + "$ref": "#/components/schemas/PluginTableColumn" |
| 3102 | + } |
| 3103 | + } |
| 3104 | + }, |
| 3105 | + "title": "CloudQuery Plugin Table", |
| 3106 | + "type": "object" |
| 3107 | + }, |
3102 | 3108 | "PluginTableDetails": { |
3103 | 3109 | "additionalProperties": false, |
3104 | 3110 | "required": [ |
|
0 commit comments