Skip to content

Commit

Permalink
TA v3.1-preview.4 - Minor syntax changes to address comments on PR 12…
Browse files Browse the repository at this point in the history
…338 (#12650)

* updated examples and health definitions for new preview version

* fixed linting issue in readme

* removed old properties in ta.json

* undo changes to sentiment portion of response, update health response

* fixed spelling issues

* fixed more typose

* remove linting issue in readme

* added enums to assertions

* add in ms-enum extension

* ran prettier json linter over files

* made assertion field singular

* addressed comments and updated description

* addressed comments for minor syntax changes

* replaced all instances of well-known

* fixed linting issue - pii category was set to list instead of string
  • Loading branch information
ctufts authored Jan 26, 2021
1 parent d7ba41b commit 42bf72a
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@
},
"/entities/linking": {
"post": {
"summary": "Linked entities from a well-known knowledge base",
"description": "The API returns a list of recognized entities with links to a well-known knowledge base. See the <a href=\"https://aka.ms/talangs\">Supported languages in Text Analytics API</a> for the list of enabled languages.",
"summary": "Linked entities from a well known knowledge base",
"description": "The API returns a list of recognized entities with links to a well known knowledge base. See the <a href=\"https://aka.ms/talangs\">Supported languages in Text Analytics API</a> for the list of enabled languages.",
"operationId": "EntitiesLinking",
"consumes": [
"application/json",
Expand All @@ -470,7 +470,7 @@
],
"responses": {
"200": {
"description": "A successful call results in a list of recognized entities with links to a well-known knowledge base returned for each valid document",
"description": "A successful call results in a list of recognized entities with links to a well known knowledge base returned for each valid document",
"schema": {
"$ref": "#/definitions/EntityLinkingResult"
}
Expand Down Expand Up @@ -694,7 +694,7 @@
"$ref": "#/definitions/KeyPhrasesTask"
}
},
"EntityLinkingTasks": {
"entityLinkingTasks": {
"type": "array",
"items": {
"$ref": "#/definitions/EntityLinkingTask"
Expand Down Expand Up @@ -1676,7 +1676,7 @@
},
"entities": {
"type": "array",
"description": "Recognized well-known entities in the document.",
"description": "Recognized well known entities in the document.",
"items": {
"$ref": "#/definitions/LinkedEntity"
}
Expand Down Expand Up @@ -1970,7 +1970,7 @@
"confidenceScore": {
"type": "number",
"format": "double",
"description": "If a well-known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned."
"description": "If a well known item is recognized, a decimal number denoting the confidence level between 0 and 1 will be returned."
},
"text": {
"type": "string",
Expand Down Expand Up @@ -2313,7 +2313,7 @@
],
"x-ms-enum": {
"name": "StringIndexTypeResponse",
"modelAsString": false,
"modelAsString": true,
"values": [
{
"value": "TextElements_v8",
Expand Down Expand Up @@ -2385,7 +2385,7 @@
"enum": ["ABARoutingNumber", "ARNationalIdentityNumber", "AUBankAccountNumber", "AUDriversLicenseNumber", "AUMedicalAccountNumber", "AUPassportNumber", "AUTaxFileNumber", "AUBusinessNumber", "AUCompanyNumber", "ATIdentityCard", "ATTaxIdentificationNumber", "ATValueAddedTaxNumber", "AzureDocumentDBAuthKey", "AzureIAASDatabaseConnectionandSQLString", "AzureIoTConnectionString", "AzurePublishSettingPassword", "AzureRedisCacheString", "AzureSAS", "AzureServiceBusString", "AzureStorageAccountKey", "AzureStorageAccountGeneric", "BENationalNumber", "BENationalNumberV2", "BEValueAddedTaxNumber", "BRCPFNumber", "BRLegalEntityNumber", "BRNationalIDRG", "BGUniformCivilNumber", "CABankAccountNumber", "CADriversLicenseNumber", "CAHealthServiceNumber", "CAPassportNumber", "CAPersonalHealthIdentification", "CASocialInsuranceNumber", "CLIdentityCardNumber", "CNResidentIdentityCardNumber", "CreditCardNumber", "HRIdentityCardNumber", "HRNationalIDNumber", "HRPersonalIdentificationNumber", "HRPersonalIdentificationOIBNumberV2", "CYIdentityCard", "CYTaxIdentificationNumber", "CZPersonalIdentityNumber", "CZPersonalIdentityV2", "DKPersonalIdentificationNumber", "DKPersonalIdentificationV2", "DrugEnforcementAgencyNumber", "EEPersonalIdentificationCode", "EUDebitCardNumber", "EUDriversLicenseNumber", "EUGPSCoordinates", "EUNationalIdentificationNumber", "EUPassportNumber", "EUSocialSecurityNumber", "EUTaxIdentificationNumber", "FIEuropeanHealthNumber", "FINationalID", "FINationalIDV2", "FIPassportNumber", "FRDriversLicenseNumber", "FRHealthInsuranceNumber", "FRNationalID", "FRPassportNumber", "FRSocialSecurityNumber", "FRTaxIdentificationNumber", "FRValueAddedTaxNumber", "DEDriversLicenseNumber", "DEPassportNumber", "DEIdentityCardNumber", "DETaxIdentificationNumber", "DEValueAddedNumber", "GRNationalIDCard", "GRNationalIDV2", "GRTaxIdentificationNumber", "HKIdentityCardNumber", "HUValueAddedNumber", "HUPersonalIdentificationNumber", "HUTaxIdentificationNumber", "INPermanentAccount", "INUniqueIdentificationNumber", "IDIdentityCardNumber", "InternationlBankingAccountNumber", "IEPersonalPublicServiceNumber", "IEPersonalPublicServiceNumberV2", "ILBankAccountNumber", "ILNationalID", "ITDriversLicenseNumber", "ITFiscalCode", "ITValueAddedTaxNumber", "JPBankAccountNumber", "JPDriversLicenseNumber", "JPPassportNumber", "JPResidentRegistrationNumber", "JPSocialInsuranceNumber", "JPMyNumberCorporate", "JPMyNumberPersonal", "JPResidenceCardNumber", "LVPersonalCode", "LTPersonalCode", "LUNationalIdentificationNumberNatural", "LUNationalIdentificationNumberNonNatural", "MYIdentityCardNumber", "MAIdentityCardNumber", "MTTaxIDNumber", "NLCitizensServiceNumber", "NLCitizensServiceNumberV2", "NLTaxIdentificationNumber", "NLValueAddedTaxNumber", "NZBankAccountNumber", "NZDriversLicenseNumber", "NZInlandRevenueNumber", "NZMinistryOfHealthNumber", "NZSocialWelfareNumber", "NOIdentityNumber", "PHUnifiedMultiPurposeIDNumber", "PLIdentityCard", "PLNationalID", "PLNationalIDV2", "PLPassportNumber", "PLTaxIdentificationNumber", "PLREGONNumber", "PTCitizenCardNumber", "PTCitizenCardNumberV2", "PTTaxIdentificationNumber", "ROPersonalNumericalCode", "RUPassportNumberDomestic", "RUPassportNumberInternational", "SANationalID", "SGNationalRegistrationIdentityCardNumber", "SKPersonalNumber", "SITaxIdentificationNumber", "SIUniqueMasterCitizenNumber", "ZAIdentificationNumber", "KRResidentRegistrationNumber", "ESDNI", "ESSocialSecurityNumber", "ESTaxIdentificationNumber", "SQLServerConnectionString", "SENationalID", "SENationalIDV2", "SEPassportNumber", "SETaxIdentificationNumber", "SWIFTCode", "CHSocialSecurityNumber", "TWNationalID", "TWPassportNumber", "TWResidentCertificate", "THPopulationIdentificationCode", "TRNationalIdentificationnumber", "UKDriversLicenseNumber", "UKElectoralRollNumber", "UKNationalHealthNumber", "UKNationalInsuranceNumber", "UKUniqueTaxpayerNumber", "USUKPassportNumber", "USBankAccountNumber", "USDriversLicenseNumber", "USIndividualTaxpayerIdentification", "USSocialSecurityNumber", "UAPassportNumberDomestic", "UAPassportNumberInternational", "Organization", "Email", "URL", "Age", "PhoneNumber", "IPAddress", "Date", "Person", "Address", "All", "Default"]
},
"name": "piiCategories",
"default": ["Default"],
"default": "Default",
"required": false,
"type": "array",
"uniqueItems": true,
Expand Down

0 comments on commit 42bf72a

Please sign in to comment.