Exemple #1
0
        public JsonSchemaProperty?Visit(IField <TagsFieldProperties> field)
        {
            var itemSchema = schemaResolver("ReferenceItem", SchemaBuilder.String());

            return(SchemaBuilder.ArrayProperty(itemSchema));
        }
Exemple #2
0
 public JsonSchemaProperty?Visit(IField <AssetsFieldProperties> field, Args args)
 {
     return(SchemaBuilder.ArrayProperty(SchemaBuilder.String()));
 }
        public JsonSchemaProperty?Visit(IField <AssetsFieldProperties> field, Args args)
        {
            var itemSchema = args.SchemaResolver("AssetItem", SchemaBuilder.String());

            return(SchemaBuilder.ArrayProperty(itemSchema));
        }