syntax = "proto3";

package com.wixpress.cloud.data.api;

import "wix/api/annotations.proto";

enum Environment {
  // Place holder. Never returned by the service.
  UNKNOWN_ENVIRONMENT = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
  // Collection [sandbox environment](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing#sandbox-collections).
  SANDBOX = 1;
  // If the [collection's sandbox environment is enabled](https://support.wix.com/en/article/cms-accessing-and-syncing-your-sandbox-and-live-collections#enabling-sandbox-collections), run the task in the collection's sandbox environment. If not, run the task in the collection's live environment.
  SANDBOX_PREFERRED = 2;
  // Collection [live environment](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing#live-collections).
  LIVE = 3;
}

enum FieldType {
  UNKNOWN_FIELD_TYPE = 0 [(.wix.api.enum_maturity) = NOT_IMPLEMENTED];
  TEXT = 1;
  NUMBER = 2;
  DATE = 3;
  DATETIME = 4;
  IMAGE = 5;
  BOOLEAN = 6;
  DOCUMENT = 7;
  URL = 8;
  RICH_TEXT = 9;
  VIDEO = 10;
  ANY = 11;
  ARRAY_STRING = 12;
  ARRAY_DOCUMENT = 13;
  AUDIO = 14;
  TIME = 15;
  LANGUAGE = 16;
  RICH_CONTENT = 17;
  MEDIA_GALLERY = 18;
  ADDRESS = 19;
  PAGE_LINK = 20;
  REFERENCE = 21;
  MULTI_REFERENCE = 22;
  OBJECT = 23;
  ARRAY = 24;
  // Deprecated - can’t be added to collections. Can only appear in older collections.
  LEGACY_TIME = 25;
  // Deprecated - can’t be added to collections. Can only appear in older collections.
  LEGACY_BOOK = 26;
  // Deprecated - can’t be added to collections. Can only appear in older collections.
  LEGACY_EXTERNAL_URL = 27;
  // Deprecated - can’t be added to collections. Can only appear in older collections.
  LEGACY_BROKEN_REFERENCE = 28;
  // Deprecated - can’t be added to collections. Can only appear in older collections.
  LEGACY_IMAGE = 29;
  // Deprecated - can’t be added to collections. Can only appear in older collections.
  LEGACY_COLOR = 30;
  // Deprecated - can’t be added to collections. Can only appear in older collections.
  LEGACY_EXTERNAL_VIDEO = 31;
  SLUG = 32 [(.wix.api.enum_maturity) = ALPHA, (.wix.api.enum_exposure) = INTERNAL];
  EMAIL = 33 [(.wix.api.enum_maturity) = ALPHA];
  SECURED_MEDIA = 34 [(.wix.api.enum_maturity) = ALPHA];
  MEDIA_IMAGE = 35 [(.wix.api.enum_maturity) = ALPHA];
  MEDIA_VECTOR_ART = 36 [(.wix.api.enum_maturity) = ALPHA];
}
