urban-investment-research/ThirdPartyApi/Tianyancha/Schemas.py

133 lines
4.1 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from typing import List
class CompanyBaseInfoRes:
id: int #
name: str # 企业名
historyNames: str # 曾用名
historyNameList: List[str] # 曾用名
fromTime: int # 经营开始时间
estiblishTime: int # 成立日期
legalPersonName: str # 法人
type: int # 法人类型1 人 2 公司
companyOrgType: str # 企业类型
regStatus: str # 企业状态
regCapital: str # 注册资本
city: str # 市
district: str # 区
staffNumRange: str # 人员规模
bondNum: int # 股票号
bondName: str # 股票名
usedBondName: str # 股票曾用名
bondType: str # 股票类型
revokeDate: int # 吊销日期
updateTimes: int # 更新时间
revokeReason: str # 吊销原因
compForm: int # 组成形式1-个人经营、2-家庭经营
regNumber: int # 注册号
creditCode: str # 统一社会信用代码
property3: str # 英文名
approvedTime: int # 核准时间
socialStaffNum: int # 参保人数
actualCapitalCurrency: str # 实收注册资本币种
alias: str # 简称
cancelReason: str # 注销原因
cancelDate: int # 注销日期
orgNumber: int # 组织机构代码
toTime: int # 经营结束时间
actualCapital: str # 实收注册资金
regInstitute: str # 登记机关
businessScope: str # 经营范围
taxNumber: str # 纳税人识别号
regLocation: str # 注册地址
regCapitalCurrency: str # 注册资本币种
tags: str
percentileScore: int # 企业评分
base: str # 省份简称
industry: str # 行业
class industryAll:
categoryMiddle: str # 国民经济行业分类门类
categoryBig: str # 国民经济行业分类大类
category: str # 国民经济行业分类门类
categorySmall: str # 国民经济行业分类小类
isMicroEnt: int # 是否是小微企业 0不是 1是
class CompanyShareHolderItemInfoCapital:
amomon: str # 出资金额
paymet: str # 实缴方式
time: str # 出资时间
percent: str # 实缴方式
class CompanyShareHolderItemInfo:
"""
天眼查股东信息
"""
cgid: str # 公司id
capital: List[CompanyShareHolderItemInfoCapital] # 出资信息
name: str # 股东名
capitalActl: List
logo: str
alias: str
id: int
type: int # 股东类型 1-公司 2-人 3-其它
hcgid: str
class ActualControlItemInfo:
"""
天眼查实控人结果
"""
hId: int # 人id
gId: int # 公司id
hPid: str # 人员pid
name: str # 控制人姓名
type: int # 1-人 2-公司
ratio: float # 占比
class LawSuitCaseReason:
result: str # 撤诉
role: str # 案件身份,
gid: str # 3199082382,id
emotion: int # 0 裁判结果对应的情感倾向1=正面0=中性;-1=负面)
name: str # 北京汇硕咨询服务有限公司,
type: str # 类型1=人员2=公司)
class LawSuitItemInfo:
"""
天眼查法律诉讼信息
"""
docType: str # 文书类型 裁定书
lawsuitUrl: str # 天眼查url
lawsuitH5Url: str # 天眼查h5 url
title: str # 案件名称 北京汇硕咨询服务有限公司与北京威盛旅游咨询有限公司网络侵权责任纠纷一审民事裁定书,
court: str # 审理法院 北京互联网法院,
judgeTime: str # 裁判日期 2021-01-14,
uuid: str # uuid
caseNo: str # 案号2019京0491民初38061号,
caseType: str # 案件类型 民事案件,
caseReason: str # 案由 网络侵权责任纠纷,
casePersons: List[LawSuitCaseReason] # 涉案方
caseMoney: str # 案件金额
submitTime: int # 发布日期
id: int # 对应表ID
class CompanyNewsItemInfo:
"""
天眼查新闻列表信息
"""
website: str # 数据来源
abstracts: str # 简介
docid: str # 新闻唯一标识符
rtm: int # 发布时间
title: str # 标题
uri: str # 新闻url
tags: List[str] # 标签
emotion: int # 情感分类1-正面0-中性,-1-负面)